package com.dykj.fireFighting.api.base.analysis.dto;

import com.dykj.fireFighting.api.base.enterprise.entity.Enterprise;
import com.dykj.fireFighting.common.core.dto.CommonDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.FieldDefaults;

import java.io.Serializable;
import java.util.List;

/**
 * @Author: zly
 * @Description : 查询条件
 * @Date: 2022-04-14
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "研判分析查询条件")
public class QueryAnalysisDto extends CommonDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "开始日期")
    private String beginTime;

    @ApiModelProperty(value = "结束日期")
    private String endTime;

    @ApiModelProperty(value = "社会单位")
    private String unitId;

    @ApiModelProperty(value = "设备名称")
    private String deviceName;
    /**
     * type取值1 年，2 季度 ，3 月，4 日
     */
    @ApiModelProperty(value = "类型")
    private Integer type;

    @ApiModelProperty(value = "监控中心id")
    private String centerUnitId;

    /**
     * 由于devhisresult 里有些没有监控中心id 改用社会id存
     */
    private List<Enterprise> socialUnitList;

    //1-20 21-40
    private Integer beginIndex =1;
    //1 同比  2环比
    private String biliType ="1";
}
